package xyz.lhou.service.impl;

import org.springframework.stereotype.Service;
import xyz.lhou.empty.Person;
import xyz.lhou.service.IPersonService;


/**
 * person实现类
 *
 * @author L3476
 */

@Service
public class PersonServiceImpl implements IPersonService {

    public Person getPersonById(Integer id) {
        Person person = new Person();
        person.setId(1);
        person.setName("张三");
        person.setAge(23);
        person.setSex("男");
        return person;
    }

}
